package com.work.service;

import com.work.entity.UserLogin;
import com.work.vo.UserRegisterVO;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserLoginService extends UserDetailsService {
    boolean register(UserRegisterVO userRegisterVO);
    boolean userExist(String username);
//    根据id判断用户是否存在
    boolean userExistById(Long userId);
//    根据id列表查询用户
    List<UserLogin> getUserListByIds(Long enterpriseId);
}
